<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs for page function.html_table.php</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/library/templates/smarty/plugins/function.html_table.php</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-functions">Functions</a>
			</div>
	<div class="info-box-body">	
		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Smarty plugin</p>
<p class="description"><p>Smarty plugin</p></p>
	<ul class="tags">
				<li><span class="field">filesource:</span> <a href="../../__filesource/fsource_Templates_Smarty_plugins_librarytemplatessmartypluginsfunction.html_table.php.html">Source Code for this file</a></li>
			</ul>
		
			</div>
</div>
		

	
	
	
	<a name="sec-functions"></a>	
	<div class="info-box">
		<div class="info-box-title">Functions</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<span class="disabled">Functions</span>
		</div>
		<div class="info-box-body">	
			<a name="functionsmarty_function_html_table" id="functionsmarty_function_html_table"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../../media/images/Function.png" />
		<span class="method-title">smarty_function_html_table</span> (line <span class="line-number"><a href="../../__filesource/fsource_Templates_Smarty_plugins_librarytemplatessmartypluginsfunction.html_table.php.html#a49">49</a></span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Smarty {html_table} function plugin</p>
<p class="description"><p>Smarty {html_table} function plugin
 Type:     function<br /> Name:     html_table<br /> Date:     Feb 17, 2003<br /> Purpose:  make an html table from an array of data<br /> Input:<br /><ul><li>loop = array to loop through</li><li>cols = number of columns, comma separated list of column names
                  or array of column names</li><li>rows = number of rows</li><li>table_attr = table attributes</li><li>th_attr = table heading attributes (arrays are cycled)</li><li>tr_attr = table row attributes (arrays are cycled)</li><li>td_attr = table cell attributes (arrays are cycled)</li><li>trailpad = value to pad trailing cells with</li><li>caption = text for caption element</li><li>vdir = vertical direction (default: &quot;down&quot;, means top-to-bottom)</li><li>hdir = horizontal direction (default: &quot;right&quot;, means left-to-right)</li><li>inner = inner loop (default &quot;cols&quot;: print $loop line by line,
                   $loop will be printed column by column otherwise)</li></ul>
 Examples: <pre> {table loop=$data}
 {table loop=$data cols=4 tr_attr='"bgcolor=red"'}
 {table loop=$data cols="first,second,third" tr_attr=$colors}</pre></p></p>
	<ul class="tags">
				<li><span class="field">author:</span> credit to boots &lt;<a href="mailto:boots">dot smarty at yahoo dot com boots dot smarty at yahoo dot com</a>&gt;</li>
				<li><span class="field">author:</span> Monte Ohrt &lt;<a href="mailto:monte">at ohrt dot com monte at ohrt dot com</a>&gt;</li>
				<li><span class="field">author:</span> credit to Messju Mohr &lt;<a href="mailto:messju">at lammfellpuschen dot de messju at lammfellpuschen dot de</a>&gt;</li>
				<li><span class="field">version:</span> 1.1</li>
				<li><span class="field">link:</span> <a href="http://smarty.php.net/manual/en/language.function.html.table.php">http://smarty.php.net/manual/en/language.function.html.table.php {html_table}
          (Smarty online manual)</a></li>
			</ul>
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			smarty_function_html_table
		</span>
					(<span class="var-type">array</span>&nbsp;<span class="var-name">$params</span>, <span class="var-type"><a href="../../Templates/Smarty/Smarty.html">Smarty</a></span>&nbsp;<span class="var-name">&$smarty</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$params</span>			</li>
					<li>
				<span class="var-type"><a href="../../Templates/Smarty/Smarty.html">Smarty</a></span>
				<span class="var-name">&$smarty</span>			</li>
				</ul>
		
	
</div>
<a name="functionsmarty_function_html_table_cycle" id="functionsmarty_function_html_table_cycle"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../../media/images/Function.png" />
		<span class="method-title">smarty_function_html_table_cycle</span> (line <span class="line-number"><a href="../../__filesource/fsource_Templates_Smarty_plugins_librarytemplatessmartypluginsfunction.html_table.php.html#a164">164</a></span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			smarty_function_html_table_cycle
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$name</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$var</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$no</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$name</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$var</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$no</span>			</li>
				</ul>
		
	
</div>
		</div>
	</div>
	
	<p class="notes" id="credit">
		Documentation generated on Tue, 02 Mar 2010 07:47:07 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</div></body>
</html>